package com.summer.campussct.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.summer.campussct.pojo.CampusOrShop;
import com.summer.campussct.pojo.dto.CampusOrShopDto;

import java.util.List;

public interface CampusOrShopMapper extends BaseMapper<CampusOrShop> {

    List<CampusOrShop> campusList(int pageSize);

    List<CampusOrShop> shopList(int pageSize);

    List<Integer> idsByType(int type);

    CampusOrShopDto getOneWithVehicles(int id);

    Integer getVehicleCountById(int id);

    Integer getVehicleTodayCountById(int id);
}
